package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by CaoJing on 2016/12/11.
 */

public class MyInvoiceBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"orderModelList":[{"id":2220,"userId":271,"carId":101,"orderNum":"27120161209215934","status":101,"onLocationName":"","onLatitude":39.959123,"onLongitude":116.323246,"realPrice":"1.0","downLocationName":"","downLatitude":39.959123,"downLongitude":116.323246,"orderTime":1481291974000,"finishTime":1481292001000,"startBillingTime":1481291976000,"businessType":2,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":1,"orderPrice":"1.0"},{"id":2219,"userId":271,"carId":69,"orderNum":"27120161209215910","status":101,"onLocationName":"锐创国际中心","onLatitude":40.008425,"onLongitude":116.485181,"realPrice":"4.12","downLocationName":"锐创国际中心","downLatitude":40.008425,"downLongitude":116.485181,"orderTime":1481291950000,"finishTime":1481291970000,"startBillingTime":1481291953000,"businessType":1,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":4.12,"orderPrice":"4.12"},{"id":2218,"userId":271,"carId":74,"orderNum":"27120161209215736","status":101,"onLocationName":"锐创国际中心","onLatitude":40.008425,"onLongitude":116.485181,"realPrice":"3.18","downLocationName":"锐创国际中心","downLatitude":40.008425,"downLongitude":116.485181,"orderTime":1481291856000,"finishTime":1481291886000,"startBillingTime":1481291859000,"businessType":1,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":3.18,"orderPrice":"3.18"},{"id":2217,"userId":271,"carId":67,"orderNum":"27120161209214819","status":101,"onLocationName":"锐创国际中心","onLatitude":40.008425,"onLongitude":116.485181,"realPrice":"2.18","downLocationName":"锐创国际中心","downLatitude":40.008425,"downLongitude":116.485181,"orderTime":1481291299000,"finishTime":1481291351000,"startBillingTime":1481291302000,"businessType":1,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":2.18,"orderPrice":"2.18"},{"id":2212,"userId":271,"carId":53,"orderNum":"27120161209200831","status":101,"onLocationName":"锐创国际中心","onLatitude":40.008425,"onLongitude":116.485181,"realPrice":"8.1","downLocationName":"锐创国际中心","downLatitude":40.008425,"downLongitude":116.485181,"orderTime":1481285311000,"finishTime":1481290677000,"startBillingTime":1481285313000,"businessType":1,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":8.1,"orderPrice":"8.1"},{"id":2211,"userId":271,"carId":50,"orderNum":"27120161209200017","status":101,"onLocationName":"锐创国际中心","onLatitude":40.008425,"onLongitude":116.485181,"realPrice":"8.1","downLocationName":"锐创国际中心","downLatitude":40.008425,"downLongitude":116.485181,"orderTime":1481284817000,"finishTime":1481285058000,"startBillingTime":1481284821000,"businessType":1,"numerical":0,"carbonEmission":0,"payType":3,"carModel":null,"bikeModel":null,"invoiceMoney":8.1,"orderPrice":"8.1"}]}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * id : 2220
         * userId : 271
         * carId : 101
         * orderNum : 27120161209215934
         * status : 101
         * onLocationName :
         * onLatitude : 39.959123
         * onLongitude : 116.323246
         * realPrice : 1.0
         * downLocationName :
         * downLatitude : 39.959123
         * downLongitude : 116.323246
         * orderTime : 1481291974000
         * finishTime : 1481292001000
         * startBillingTime : 1481291976000
         * businessType : 2
         * numerical : 0
         * carbonEmission : 0
         * payType : 3
         * carModel : null
         * bikeModel : null
         * invoiceMoney : 1
         * orderPrice : 1.0
         */

        @SerializedName("orderModelList")
        private List<OrderModelListBean> orderModelList;

        public List<OrderModelListBean> getOrderModelList() {
            return orderModelList;
        }

        public void setOrderModelList(List<OrderModelListBean> orderModelList) {
            this.orderModelList = orderModelList;
        }

        public static class OrderModelListBean {
            @SerializedName("id")
            private String id;
            @SerializedName("userId")
            private String userId;
            @SerializedName("carId")
            private String carId;
            @SerializedName("orderNum")
            private String orderNum;
            @SerializedName("status")
            private int status;
            @SerializedName("onLocationName")
            private String onLocationName;
            @SerializedName("onLatitude")
            private double onLatitude;
            @SerializedName("onLongitude")
            private double onLongitude;
            @SerializedName("realPrice")
            private String realPrice;
            @SerializedName("downLocationName")
            private String downLocationName;
            @SerializedName("downLatitude")
            private double downLatitude;
            @SerializedName("downLongitude")
            private double downLongitude;
            @SerializedName("orderTime")
            private long orderTime;
            @SerializedName("finishTime")
            private long finishTime;
            @SerializedName("startBillingTime")
            private long startBillingTime;
            @SerializedName("businessType")
            private int businessType;
            @SerializedName("numerical")
            private int numerical;
            @SerializedName("carbonEmission")
            private String carbonEmission;
            @SerializedName("payType")
            private int payType;
            @SerializedName("carModel")
            private Object carModel;
            @SerializedName("bikeModel")
            private Object bikeModel;
            @SerializedName("invoiceMoney")
            private String invoiceMoney;
            @SerializedName("orderPrice")
            private String orderPrice;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getCarId() {
                return carId;
            }

            public void setCarId(String carId) {
                this.carId = carId;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getOnLocationName() {
                return onLocationName;
            }

            public void setOnLocationName(String onLocationName) {
                this.onLocationName = onLocationName;
            }

            public double getOnLatitude() {
                return onLatitude;
            }

            public void setOnLatitude(double onLatitude) {
                this.onLatitude = onLatitude;
            }

            public double getOnLongitude() {
                return onLongitude;
            }

            public void setOnLongitude(double onLongitude) {
                this.onLongitude = onLongitude;
            }

            public String getRealPrice() {
                return realPrice;
            }

            public void setRealPrice(String realPrice) {
                this.realPrice = realPrice;
            }

            public String getDownLocationName() {
                return downLocationName;
            }

            public void setDownLocationName(String downLocationName) {
                this.downLocationName = downLocationName;
            }

            public double getDownLatitude() {
                return downLatitude;
            }

            public void setDownLatitude(double downLatitude) {
                this.downLatitude = downLatitude;
            }

            public double getDownLongitude() {
                return downLongitude;
            }

            public void setDownLongitude(double downLongitude) {
                this.downLongitude = downLongitude;
            }

            public long getOrderTime() {
                return orderTime;
            }

            public void setOrderTime(long orderTime) {
                this.orderTime = orderTime;
            }

            public long getFinishTime() {
                return finishTime;
            }

            public void setFinishTime(long finishTime) {
                this.finishTime = finishTime;
            }

            public long getStartBillingTime() {
                return startBillingTime;
            }

            public void setStartBillingTime(long startBillingTime) {
                this.startBillingTime = startBillingTime;
            }

            public int getBusinessType() {
                return businessType;
            }

            public void setBusinessType(int businessType) {
                this.businessType = businessType;
            }

            public int getNumerical() {
                return numerical;
            }

            public void setNumerical(int numerical) {
                this.numerical = numerical;
            }

            public String getCarbonEmission() {
                return carbonEmission;
            }

            public void setCarbonEmission(String carbonEmission) {
                this.carbonEmission = carbonEmission;
            }

            public int getPayType() {
                return payType;
            }

            public void setPayType(int payType) {
                this.payType = payType;
            }

            public Object getCarModel() {
                return carModel;
            }

            public void setCarModel(Object carModel) {
                this.carModel = carModel;
            }

            public Object getBikeModel() {
                return bikeModel;
            }

            public void setBikeModel(Object bikeModel) {
                this.bikeModel = bikeModel;
            }

            public String getInvoiceMoney() {
                return invoiceMoney;
            }

            public void setInvoiceMoney(String invoiceMoney) {
                this.invoiceMoney = invoiceMoney;
            }

            public String getOrderPrice() {
                return orderPrice;
            }

            public void setOrderPrice(String orderPrice) {
                this.orderPrice = orderPrice;
            }
        }
    }
}
